package cc.ycws.core.old.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;
import com.alibaba.fastjson.annotation.JSONField;

/**
  * <p>
  *
  * </p>
  *
  * @author tutu
  * @since 2018-05-01
  */
public class Location implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Double longitude;

    private Double latitude;

    private String address;

    @TableField("detailedAddress")
    private String detailedAddress;

    /**
     * 价格，以分为单位
     */
    private String moeny;

    /**
     * 彩生活消息推送，0关闭，1开启
     */
    private String messagepush;

    /**
     * 收费状态，0正常，1试点
     */
    private String chargingstatus;

    public Integer getId() {
    return id;
    }

    public void setId(Integer id) {
    this.id = id;
    }
    public Double getLongitude() {
    return longitude;
    }

    public void setLongitude(Double longitude) {
    this.longitude = longitude;
    }
    public Double getLatitude() {
    return latitude;
    }

    public void setLatitude(Double latitude) {
    this.latitude = latitude;
    }
    public String getAddress() {
    return address;
    }

    public void setAddress(String address) {
    this.address = address;
    }
    public String getDetailedAddress() {
    return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
    this.detailedAddress = detailedAddress;
    }
    public String getMoeny() {
    return moeny;
    }

    public void setMoeny(String moeny) {
    this.moeny = moeny;
    }
    public String getMessagepush() {
    return messagepush;
    }

    public void setMessagepush(String messagepush) {
    this.messagepush = messagepush;
    }
    public String getChargingstatus() {
    return chargingstatus;
    }

    public void setChargingstatus(String chargingstatus) {
    this.chargingstatus = chargingstatus;
    }

    @Override
    public String toString() {
        return "Location{" +
                "id=" + id +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", address=" + address +
                ", detailedAddress=" + detailedAddress +
                ", moeny=" + moeny +
                ", messagepush=" + messagepush +
                ", chargingstatus=" + chargingstatus +
        "}";
    }
}
